package cn.hl.sfzy.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @ClassName Appointment
 * @Description TODO
 * @Author LiuYao
 * @Date 2024年10月24日 10:27
 * @Version 1.0
 */
@Data
public class Appointment {
    private Long id;
    private Long user_id;
    private Long type_Id;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date CreateTime;
    private String content;
    private Long consult_id;
    private String reply;
    private int status;
    private Consult consult;
    private User user;
    private Specialty specialty;
}
